package com.example.cloud.dao.business.medical;

import com.example.cloud.model.common.CommonModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

/**
 * Created by ygl on 2017/5/24.
 */
@Entity(name = "skin_diagnosis")
@Data
@EqualsAndHashCode(callSuper = false)
public class SkinDiagnosis extends CommonModel {

    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private Long id;

    @Column(name = "patient_id")
    private Long patientId;

    @Column(name = "complaint_id")
    private Long complaintId;

    @Column(name = "skin_diagnosis_type")
    private Integer skinDiagnosisType;

    @Column(name = "diagnosis_result")
    private String diagnosisResult;

    @Column(name = "remark",length = 1000)
    private String remark;
}
